
class Global_val():
    [Id,
     name,
     url,
     run,
     request_way,
     header,
     case_depend,
     data_depend,
     field_depend,
     data,
     expect,
     result]=[i for i in range(12)]


def get_id():
    return Global_val.Id

def get_url():
    return Global_val.url

def get_run():
    return Global_val.run

def get_run_way():
    return Global_val.request_way

def get_header():
    return Global_val.header

def get_case_depend():
    return Global_val.case_depend

def get_data_depend():
    return Global_val.data_depend

def get_field_depend():
    return Global_val.field_depend

def get_request_data():
    return Global_val.data

def get_expect():
    return Global_val.expect

def get_result():
    return Global_val.result

def get_hearder_value():
    from fake_useragent import UserAgent
    ua = UserAgent()
    header = {
        "User-Agent": ua.random}
    return header

